@charset "UTF-8";
@import "rem-calc";


$mediaArray: "only screen and (max-width: 379px)",
"only screen and (min-width: 380px) and (max-width: 399px)",
"only screen and (min-width: 400px) and (max-width: 439px)",
"only screen and (min-width: 440px) and (max-width: 479px)",
"only screen and (min-width: 480px) and (max-width: 639px)",
"only screen and (min-width: 640px) and (max-width: 679px)",
"only screen and (min-width: 750px)";

$rem-base: 36px;
$ratioFor320: 640/320;
$ratioFor380: 640/380;
$ratioFor400: 640/400;
$ratioFor440: 640/440;
$ratioFor480: 640/480;
$ratioFor640: 640/680;
$ratioFor750: 640/750;

$htmSizeArray: floor($rem-base/$ratioFor320),
floor($rem-base/$ratioFor380),
floor($rem-base/$ratioFor400),
floor($rem-base/$ratioFor440),
floor($rem-base/$ratioFor480),
floor($rem-base/$ratioFor640),
floor($rem-base/$ratioFor750);

html,body{
  margin: 0px;
  padding: 0px;
  clear: both;
  overflow: auto;
  background-repeat: no-repeat;
  background-image: url("../images/app/one/bg.jpg");
  //position: absolute;
  min-height: 100%;
  width: 100%;
  background-size: 100%;
  height: auto;
}
html{
  background-position: center bottom;
  height: auto;
}
p{
  margin: 0;
  padding: 0px;
}
.oneContainer{
  margin-top: rem-calc(380px);
  padding: 0px 10px;
  box-sizing: border-box;
  .ft{
    font-size: rem-calc(36px);
    color: #fff;
    text-align: center;
  }
  .input{
    height: rem-calc(80px);
    line-height: rem-calc(80px);
    border: 1px solid #ddd;
    background-color: rgba(255,255,255,0.7);
    width: rem-calc(500px);
    margin: 0px auto;
    box-sizing: border-box;
    padding: 0px;
  }
  input[type="tel"]{
    border: 0px;
    height: rem-calc(70px);
    line-height: rem-calc(70px);
    border-radius: 0px;
    background:none;
    width: 100%;
    font-size: rem-calc(38px);
    text-align: center;
    vertical-align: middle;
    margin-left: -10px;
  }
  .smbtn{
    width: rem-calc(230px);
    height: rem-calc(90px);
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    margin: 10px auto;
    background-image: url("../images/app/one/smbtn.png");
    line-height: 100;
    overflow: hidden;
  }
  .textInfo{
    width: 88%;
    margin: 20px auto;
    background-color: rgba(255,255,255,0.3);
    padding: 10px;
    p{
      margin: 0px;
      color: #fff;
      line-height: 2;
    }
    .f30{
      font-size: rem-calc(30px);
    }
    .f20{
      font-size: rem-calc(20px);
    }
    .mt30{
      margin-top: 30px;
      font-size: rem-calc(12px);
    }
  }
  .brandItem{
    height: rem-calc(200px);
    text-align: center;
    margin-bottom: rem-calc(20px);
    display: block;
    -webkit-align-content: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-flex;
    display: flex;
    width: 100%;
    position: relative;
    img{
      max-height: rem-calc(170px);
      max-width: rem-calc(500px);
      vertical-align: middle;
      margin: 0 auto;
      box-shadow: 0px 5px 5px rgba(0,0,0,0.3);
    }
    .isover{
      position: absolute;
      box-shadow: none;
      height: rem-calc(230px);
      z-index: 10;
      left: 50%;
      //width: rem-calc(270px);
      margin-left: rem-calc(-135px);
      top:50%;
      margin-top: rem-calc(-80px);
    }
  }
  .des{
    text-align: center;
    line-height: 2;
    color: #fff;
    .f36{
      font-size: rem-calc(36px);
    }
    .f26{
      font-size: rem-calc(26px);
    }
  }
  .coupon{
    width: rem-calc(672px);
    height: rem-calc(297px);
    background-image: url("../images/app/one/coupon.png");
    background-size: cover;
    margin: 20px auto;
    clear: both;
    overflow: hidden;
    .discount{
      float: left;
      -webkit-align-content: center;
      -ms-flex-align: center;
      align-items: center;
      display: -webkit-flex;
      display: flex;
      height: rem-calc(297px);
      width: rem-calc(300px);
      .text{
        font-size: rem-calc(60px);
        font-weight: bold;
        text-align: center;
        line-height: 1.5;
        color: #fff;
        margin: 0 auto;
        text-shadow: 0px 3px 3px rgba(0,0,0,0.3);
      }
    }
    .number_logo{
      float: right;
      width: rem-calc(340px);
      overflow: hidden;
      padding-top: rem-calc(60px);
      .number{
        font-size: rem-calc(40px);
        color: #fff;
        text-align: center;
      }
      .logoImg{
        clear: both;
        overflow: hidden;
        height: rem-calc(100px);
        text-align: center;
        img{
          max-height: rem-calc(100px);
          max-width: 80%;
        }
      }
      .time{
        font-size: rem-calc(16px);
        margin-top: 10px;
        color: #fff;
      }
    }
  }
  .desInfo{
    font-size: rem-calc(16px);
    color: #fff;
    margin: 20px auto;
    width: 80%;
    line-height: 2;

  }
  .mkesure{
    display: block;
    clear: both;
    overflow: hidden;
    margin: 30px auto;
    width: rem-calc(461px);
    height: rem-calc(168px);
    background-image: url("../images/app/one/btn.png");
    background-size: cover;
    line-height: 100;
    background-repeat: no-repeat;
  }
  .gotText{
    text-align: center;
    font-size: rem-calc(40px);
    line-height: 2;
    color: #fff;
  }
  .logoImg{
    height: rem-calc(230px);
    -webkit-align-content: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-flex;
    display: flex;
    img{
      max-height: rem-calc(200px);
      max-width: rem-calc(600px);
      margin: 0 auto;
      box-shadow: 0px 5px 5px rgba(0,0,0,0.3);
    }
  }
  .howUser{
    width: 94%;
    margin: 20px auto;
    display: block;
  }
}


// set responsive
@for $mediaIndex from 1 to length($mediaArray) + 1 {
  $media: nth($mediaArray, $mediaIndex);
  $htmlFz: nth($htmSizeArray, $mediaIndex);
  @media #{$media}
  {
    html {
      font-size: $htmlFz;
    }
  }
}